package com.gtw.modules.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.SysUserEntity;
import com.gtw.modules.entity.TbCommodity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 商品信息
 */
@Mapper
@Repository
public interface TbCommodityDao {

    List<TbCommodity> queryPageList(Page<TbCommodity> page, Map<String, Object> map);

    int deleteByPrimaryKey(Integer id);

    int insert(TbCommodity record);

    int insertSelective(TbCommodity record);

    TbCommodity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbCommodity record);

    int updateByPrimaryKeyWithBLOBs(TbCommodity record);

    int updateByPrimaryKey(TbCommodity record);

    List<TbCommodity> findAll();
}